package cn.hxzy.course.service;


import cn.hxzy.common.domain.FileInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface FileInfoService extends IService<FileInfo> {
    int insertFileInfo(FileInfo fileInfo);


    List<FileInfo> selectFileInfo(String infoName, Integer sectionId);

    List<FileInfo> selectFileInfoNum(Integer sectionId);
    double selectCount(Long courseId);

    //删除资料
    int deleteFileInfo(Integer infoId);
}
